# 递归
def sum(num):
    if num == 1:
        return 1;
    return num + sum(num-1)

result = sum(100)
print(result)
